package com.scuec.tourismwebsite.entity;

import lombok.Data;
import java.sql.Date;

@Data
public class Post {
    private Integer post_id;  // 帖子ID
    private Integer user_id;  // 用户对象
    private String title;
    // 帖子内容，非空
    private String content;
    // 帖子分类，非空
    private String category;
    // 帖子发布日期，默认当前时间
    private Date post_date;
    // 创建日期，默认当前时间
    private Date create_date;
    private Integer comments_count;
    private Integer likes_count;
    private String photo1;
    private String photo2;
    private String photo3;
    private String image_1;
    private String image_2;
    private String image_3;
    private String city;
    private Integer collect_counts;
}
